package com.hou.shardingjdbc.dao;

import com.hou.shardingjdbc.domain.PO.Order;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrderDao {

    int insertOrder(Order order);

    List<Order> findByOpenid(@Param("openid") String openid);

    Integer selectCountByOpenid(String openid);
}
